package org.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 课程类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    private Integer id;
    private String courseName;//课程名称
    private String courseDescription;//课程描述
    private Integer instructorId;//课程教师id
    private Integer teachingMethod;//教学方式
    private Integer courseStatus;//课程状态
    private String studentCourseEvaluation;//学生课程评价
    private String teacherCourseEvaluation;//教师课程评价
    private LocalDateTime createTime;//课程创建时间
    private LocalDateTime updateTime;//课程开始时间
    private LocalDateTime finishTime;//课程结束时间
    private Double price;//课程价格
    private String resources;//课程资源
    private Integer studentId;//学生id
}
